package com.mozai.shopping.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@ApiModel(description = "分页返回结果")
public class PageResp<T> implements Serializable {
   private List<T> list;

   @ApiModelProperty(value = "每页数量",required = true,dataType = "Integer")
   private Integer pageSize;
   @ApiModelProperty(value = "页数",required = true,dataType = "Integer")
   private Integer pageNum;
   @ApiModelProperty(value = "起始",required = true,dataType = "Integer")
   private Integer start;
   @ApiModelProperty(value = "总数量",required = true,dataType = "Integer")
   private Integer total;
   @ApiModelProperty(value = "总页数",required = true,dataType = "Integer")
   private Integer totalPage;
}